﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Matriculas_Aluno_pagamento" Codebehind="Aluno_pagamento.aspx.cs" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }

        function Close() {
            GetRadWindow().close();
        }

        function CloseWithArg() {
            var customArg = document.getElementById('ctm_cad_diretiva_id').value;
            GetRadWindow().close(customArg);
        }


        //      função para retornar um vetor de argumentos para pagina de origem
        function returnToParent() {
            //crear argumento para retorno a pagina pai
            var oArg = new Object();
            //obter dados da diretiva
            oArg.diretivaID = document.getElementById('hid_aluno_id').value
            oArg.diretivaDesc = "Descricao";
            alert(oArg.diretivaID);
            return false;
        }

                

    </script>
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:ObjectDataSource ID="ods_Matricula" runat="server"  
        SelectMethod="_obter_Matricula_Aluno" TypeName="Banco.BD_Matricula" 
        onselecting="ods_Matricula_Selecting" DeleteMethod="_excluir_Matricula" 
        OldValuesParameterFormatString="original_{0}"> 
        <DeleteParameters>
            <asp:Parameter Name="MATRICULA_ID" Type="String" />
        </DeleteParameters>
        <SelectParameters> 
            <asp:Parameter Name="ALUNO_ID" Type="String" />
            <asp:Parameter Name="TODAS" Type="Boolean" />
        </SelectParameters> 
    </asp:ObjectDataSource>

    <asp:ObjectDataSource ID="ods_Bolsa" runat="server"  
        SelectMethod="_obter_bolsa" TypeName="Banco.BD_bolsa" 
        onselecting="ods_Bolsa_Selecting" 
        OldValuesParameterFormatString="original_{0}"> 
        <SelectParameters> 
            <asp:Parameter Name="BOLSA_ID" Type="String" />
            <asp:Parameter Name="BOL_DESCRICAO" Type="String" />
            <asp:Parameter Name="BOL_MODALIDADE" Type="String" />
            <asp:Parameter Name="BOL_DESCONTOVALOR" Type="String" />
            <asp:Parameter Name="BOL_DESCONTOPERC" Type="String" />
            <asp:Parameter Name="BOL_DTVIGENCIAINCIO" Type="String" />
            <asp:Parameter Name="BOL_DTVIGENCIAFIM" Type="String" />
            <asp:Parameter Name="BOL_STEXCLUIDO" Type="String" />
            <asp:Parameter Name="BOL_INTEGRAL" Type="String" />
        </SelectParameters> 
    </asp:ObjectDataSource>

    <asp:ObjectDataSource ID="ods_Pagamentotipo" runat="server"  
        SelectMethod="_obter_Pagamento_tipo" 
        TypeName="Banco.BD_Pagamento_tipo" > 
        <SelectParameters> 
            <asp:Parameter Name="PAGAMENTO_TIPO_ID" Type="String" /> 
            <asp:Parameter Name="PTO_DESCRICAO" Type="String" /> 
        </SelectParameters> 
    </asp:ObjectDataSource>

    <asp:ObjectDataSource ID="ods_AnoPagamento" runat="server"  
        SelectMethod="_obter_AnoPagamento" 
        TypeName="Banco.BD_Pagamento" > 
    </asp:ObjectDataSource>

    <asp:ObjectDataSource ID="ods_FormaPagamento" runat="server" 
        SelectMethod="_obter_Forma_pagamento" TypeName="Banco.BD_Forma_pagamento">
        <SelectParameters>
            <asp:Parameter Name="FORMA_PAGAMENTO_ID" Type="String" />
            <asp:Parameter Name="FPG_DESCRICAO" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>

    <asp:ObjectDataSource ID="ods_Pagamentos" runat="server"  
        SelectMethod="_obter_Pagamento_Conciliacao" TypeName="Banco.BD_Pagamento" 
        onselecting="ods_Pagamentos_Selecting" 
        OldValuesParameterFormatString="original_{0}"> 
        <SelectParameters> 
            <asp:Parameter Name="ALUNO_ID" Type="String" />
            <asp:Parameter Name="MATRICULA_ID" Type="String" />
            <asp:Parameter Name="MENSALIDADES_EM_ABERTO" Type="String" />
            <asp:Parameter Name="PAG_ANOREFERENCIA" Type="String" />
            <asp:Parameter Name="PAG_MESREFERENCIA" Type="String" />
            <asp:Parameter Name="SOMENTE_MENSALIDADES_EM_ABERTO" Type="String" />
        </SelectParameters> 
    </asp:ObjectDataSource>

    <asp:HiddenField ID="hid_operacao" runat="server" />    
    <asp:HiddenField ID="hid_turma_id" runat="server" />

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>


    <div>        
        <table width="99%" cellpadding="0" cellspacing="0">
            <tr>
                    <td>
                            <%--linha--%>
                            <div style="float:left; margin-left:5px; width:10%; margin-top:8px;">
                                <asp:Label ID="lbl_aluno_id" runat="server" Text="Código" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>        
                                <telerik:RadTextBox ID="aluno_id" Runat="server" Font-Size="X-Small" 
                                    Width="97%" 
                                    ReadOnly="true">
                                    <ReadOnlyStyle BackColor="#D6DCDB" />
                                </telerik:RadTextBox>
                            </div>
                            <div style="float:left; margin-left:10px; width:60%; margin-top:8px;">
                                <asp:Label ID="lbl_pes_nome" runat="server" Text="Descrição" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                
                                <telerik:RadTextBox ID="pes_nome" Runat="server" Font-Size="X-Small" 
                                    Width="97%" 
                                    ReadOnly="true">
                                    <ReadOnlyStyle BackColor="#D6DCDB" />
                                </telerik:RadTextBox>
                            </div>
                            <div style="float:right; margin-right:5px; width:25%; ">
                                <asp:Label ID="lbl_matricula_id" runat="server" Text="Matrícula" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                <asp:RequiredFieldValidator ID="rfv_matricula_id" runat="server" ControlToValidate="matricula_id"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>
                               <telerik:RadComboBox ID="matricula_id" runat="server" 
                                                    Font-Size="X-Small" Width="100%" DataTextField="MAT_MTRDESCRICAO" 
                                                    DataValueField="MATRICULA_ID" Filter="Contains" 
                                                    EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                    EnableLoadOnDemand="True" onitemsrequested="matricula_id_ItemsRequested" 
                                                    style="margin-bottom: 0px" AutoPostBack="True" 
                                    onselectedindexchanged="matricula_id_SelectedIndexChanged" ></telerik:RadComboBox>
                            </div>
                            <%--linha--%>
                            <div style="float:left; margin-left:0px; width:100%;" >
                            
                                <div style="float:left; margin-left:5px; width:10%; margin-top:8px;" >
                                    <asp:Label ID="lbl_sal_descricao" runat="server" Text="Sala" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>                                            
                                    <telerik:RadTextBox ID="sal_descricao" Runat="server" Font-Size="X-Small" 
                                        Width="97%" ReadOnly="true">
                                        <ReadOnlyStyle BackColor="#D6DCDB" />
                                    </telerik:RadTextBox>
                                </div>
                                <div style="float:left; margin-left:10px; width:18%; margin-top:8px;" >
                                    <asp:Label ID="lbl_mod_descricao" runat="server" Text="Modalidade" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>                                            
                                    <telerik:RadTextBox ID="mod_descricao" Runat="server" Font-Size="X-Small" 
                                        Width="97%" ReadOnly="true">
                                        <ReadOnlyStyle BackColor="#D6DCDB" />
                                    </telerik:RadTextBox>
                                </div>                            
                                <div style="float:left; margin-left:10px; width:9%; margin-top:8px;" >
                                    <asp:Label ID="lbl_turno_descricao" runat="server" Text="Horário" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>                                            
                                    <telerik:RadTextBox ID="turno_descricao" Runat="server" Font-Size="X-Small" 
                                        Width="97%" ReadOnly="true">
                                        <ReadOnlyStyle BackColor="#D6DCDB" />
                                    </telerik:RadTextBox>
                                </div>
                                <div style="float:left; margin-left:10px; width:9%; margin-top:8px;" >
                                    <asp:Label ID="lbl_tur_valorreferencia" runat="server" Text="Valor base" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>                                            
                                    <telerik:RadNumericTextBox ID="tur_valorreferencia" runat="server" Font-Size="X-Small" ReadOnly="true"
                                                Width="97%" DataType="System.Int32" Culture="pt-BR" 
                                        Type="Currency">
                                                <NumberFormat DecimalDigits="2" />
                                                <ReadOnlyStyle BackColor="#CCCCCC" />
                                    </telerik:RadNumericTextBox>  
                                </div>
                                <div style="float:left; margin-left:10px; width:9%; margin-top:0px;" >
                                    <asp:Label ID="lbl_pag_valorpago" runat="server" Text="Valor pago" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>  
                                    <asp:RequiredFieldValidator ID="rfv_pag_valorpago" runat="server" ControlToValidate="pag_valorpago"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>                                          
                                    <telerik:RadNumericTextBox ID="pag_valorpago" runat="server" Font-Size="X-Small"
                                                Width="97%" DataType="System.Int32" Culture="pt-BR" 
                                        Type="Currency">
                                                <NumberFormat DecimalDigits="2" />
                                                <ReadOnlyStyle BackColor="#CCCCCC" />
                                    </telerik:RadNumericTextBox>  
                                </div>
                                <div style="float:left; margin-left:10px; width:10%; margin-top:0px;">
                                    <asp:Label ID="lbl_pag_dtpagamento" runat="server" Text="Data pagto" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>        
                                    <asp:RequiredFieldValidator ID="rfv_pag_dtpagamento" runat="server" ControlToValidate="pag_dtpagamento"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>
                                    <telerik:RadDateInput ID="pag_dtpagamento" runat="server" Font-Size="X-Small" 
                                        Width="97%" AutoPostBack="True" >
                                        <ReadOnlyStyle BackColor="#D6DCDB" />
                                    </telerik:RadDateInput>
                                </div>  
                                <div style="float:right; margin-right:5px; width:11%;">
                                    <asp:Label ID="lbl_pag_anoreferencia" runat="server" Text="Ano ref." 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>        
                                    <asp:RequiredFieldValidator ID="rfv_pag_anoreferencia" runat="server" ControlToValidate="pag_anoreferencia"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>
                                    <telerik:RadComboBox ID="pag_anoreferencia" runat="server" 
                                                                Font-Size="X-Small" Width="100%" DataTextField="ANO_DESCRICAO" 
                                                                DataValueField="ANO" Filter="Contains" 
                                                                EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                                EnableLoadOnDemand="True" onitemsrequested="pag_anoreferencia_ItemsRequested" 
                                                                style="margin-bottom: 0px" AutoPostBack="True" 
                                        onselectedindexchanged="pag_anoreferencia_SelectedIndexChanged">                        
                                                </telerik:RadComboBox>
                                </div>
                                <div style="float:right; margin-right:10px; width:13%; ">
                                    <asp:Label ID="lbl_pag_mesreferencia" runat="server" Text="Mês ref." 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>        
                                    <asp:RequiredFieldValidator ID="rfv_pag_mesreferencia" runat="server" ControlToValidate="pag_mesreferencia"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>
                                    <telerik:RadComboBox ID="pag_mesreferencia" runat="server" 
                                                    Font-Size="X-Small" Width="100%" Filter="Contains" 
                                                    EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                    EnableLoadOnDemand="True" 
                                                    style="margin-bottom: 0px" AutoPostBack="True" 
                                        onselectedindexchanged="pag_mesreferencia_SelectedIndexChanged">
                                        <Items>
                                            <telerik:RadComboBoxItem runat="server" />
                                            <telerik:RadComboBoxItem runat="server" Text="JANEIRO" 
                                                Value="1" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="FEVEREIRO" 
                                                Value="2" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="MARÇO" 
                                                Value="3" Font-Size="X-Small" />                            
                                            <telerik:RadComboBoxItem runat="server" Text="ABRIL" 
                                                Value="4" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="MAIO" 
                                                Value="5" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="JUNHO" 
                                                Value="6" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="JULHO" 
                                                Value="7" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="AGOSTO" 
                                                Value="8" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="SETEMBRO" 
                                                Value="9" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="OUTUBRO" 
                                                Value="10" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="NOVEMBRO" 
                                                Value="11" Font-Size="X-Small" />
                                            <telerik:RadComboBoxItem runat="server" Text="DEZEMBRO" 
                                                Value="12" Font-Size="X-Small" />                                                                                        
                                        </Items>
                                        
                                    </telerik:RadComboBox>  
                                </div>
                            </div>    
                            
                            <%--linha--%>       
                            <div style="float:left; margin-left:5px; width:27%; margin-top:8px;">
                                <asp:Label ID="Label1" runat="server" Text="Bolsa" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                
                               <telerik:RadComboBox ID="bolsa_id" runat="server" 
                                                    Font-Size="X-Small" Width="100%" DataTextField="BOL_DESCRICAO" 
                                                    DataValueField="BOLSA_ID" Filter="Contains" 
                                                    EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                    EnableLoadOnDemand="True" onitemsrequested="bolsa_id_ItemsRequested" 
                                                    style="margin-bottom: 0px" AutoPostBack="True" 
                                    onselectedindexchanged="bolsa_id_SelectedIndexChanged" ></telerik:RadComboBox>
                            </div>
                            <div style="float:left; margin-left:10px; width:9%; margin-top:8px;" >
                                <asp:Label ID="lbl_pag_desconto" runat="server" Text="Desconto" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>                                      
                                <telerik:RadNumericTextBox ID="pag_desconto" runat="server" Font-Size="X-Small"
                                            Width="97%" DataType="System.Int32" Culture="pt-BR" 
                                    Type="Currency">
                                            <NumberFormat DecimalDigits="2" />
                                            <ReadOnlyStyle BackColor="#CCCCCC" />
                                </telerik:RadNumericTextBox>  
                            </div>
                            <div style="float:left; margin-left:10px; width:9%; margin-top:8px;" >
                                <asp:Label ID="lbl_pag_juros" runat="server" Text="Juros" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>                                      
                                <telerik:RadNumericTextBox ID="pag_juros" runat="server" Font-Size="X-Small"
                                            Width="97%" DataType="System.Int32" Culture="pt-BR" 
                                    Type="Currency">
                                            <NumberFormat DecimalDigits="0" />
                                            <ReadOnlyStyle BackColor="#CCCCCC" />
                                </telerik:RadNumericTextBox>  
                            </div>
                            <div style="float:left; margin-left:10px; width:9%; margin-top:8px;" >
                                <asp:Label ID="lbl_pag_multa" runat="server" Text="Multa" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>                                      
                                <telerik:RadNumericTextBox ID="pag_multa" runat="server" Font-Size="X-Small"
                                            Width="97%" DataType="System.Int32" Culture="pt-BR" 
                                    Type="Currency">
                                            <NumberFormat DecimalDigits="0" />
                                            <ReadOnlyStyle BackColor="#CCCCCC" />
                                </telerik:RadNumericTextBox>                                  
                            </div>   
                            <div style="float:left; margin-left:3px; width:16px; margin-top:19px;" >
                                <asp:ImageButton ID="imgbBuscaMultaParam" runat="server" 
                                    ImageUrl="~/Imagens/pagina_lupa_cinza.png" 
                                    onclick="imgbBuscaMultaParam_Click" ToolTip="Aplicar multa" />
                            </div>
                            <div style="float:left; margin-left:10px; width:25%; ">
                                <asp:Label ID="lbl_pagamento_tipo_id" runat="server" Text="Tipo de pagamento" 
                                        Font-Bold="True" Font-Size="X-Small"></asp:Label>
                               <asp:RequiredFieldValidator ID="rfv_pagamento_tipo_id" runat="server" ControlToValidate="pagamento_tipo_id"
                                        ErrorMessage=" (*)" ForeColor="Red" ValidationGroup="camposObrigatorios"></asp:RequiredFieldValidator>                                
                               <telerik:RadComboBox ID="pagamento_tipo_id" runat="server" 
                                                    Font-Size="X-Small" Width="100%" DataTextField="PTO_DESCRICAO" 
                                                    DataValueField="PAGAMENTO_TIPO_ID" Filter="Contains" 
                                                    EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                    EnableLoadOnDemand="True" onitemsrequested="pagamento_tipo_id_ItemsRequested" 
                                                    style="margin-bottom: 0px" ></telerik:RadComboBox>
                            </div> 
                            <div style="float:right; margin-right:5px; width:6%; margin-top:8px;">
                                <asp:Label ID="lbl_pag_mensalidadeAberto" runat="server" Font-Bold="True" 
                                    Font-Size="X-Small" Text="Em aberto"></asp:Label>
                                <br /><asp:CheckBox ID="ckb_pagamentos_aberto" runat="server" Enabled="false" Checked="True" />
                            </div>
                            <div style="float:right; margin-right:0px; width:5%; margin-top:8px;">
                                <asp:Label ID="lbl_bol_descontoIrmas" runat="server" Font-Bold="True" Visible="false"
                                    Font-Size="X-Small" Text="Irmãs"></asp:Label>
                                <br /><asp:CheckBox ID="ckb_bol_descontoIrmas" runat="server" Enabled="false" Checked="true"  Visible="false" />
                            </div>

                            <%--linha--%>                                                       
                            <div style="float:left; margin-left:5px; width:35%; margin-top:5px;">
                                <asp:Label ID="lbl_pag_observacao" runat="server" Text="Observações gerais sobre o pagamento" 
                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                <telerik:RadTextBox ID="pag_observacao" Runat="server" Font-Size="X-Small" 
                                    Width="97%" 
                                    ReadOnly="false" TextMode="MultiLine" Rows="3">
                                    <ReadOnlyStyle BackColor="#D6DCDB" />
                                </telerik:RadTextBox>
                            </div>

                            <%--linha--%>                                                       
                            <div style="float:right; margin-right:5px; width:58%; margin-top:17px;">
                                <asp:Panel ID="pnlPagamentoDetalhe" runat="server">                                
                                    <fieldset>
                                        <div style="float:left; margin-left:0px; width:30%; margin-top:8px; margin-bottom:3px;">
                                            <asp:Label ID="lbl_forma_pagamento_id" runat="server" Text="Forma de Pagamento" 
                                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                
                                           <telerik:RadComboBox ID="forma_pagamento_id" runat="server" 
                                                                Font-Size="X-Small" Width="100%" DataTextField="FPG_DESCRICAO" 
                                                                DataValueField="FORMA_PAGAMENTO_ID" Filter="Contains" 
                                                                EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                                EnableLoadOnDemand="True" onitemsrequested="forma_pagamento_id_ItemsRequested" 
                                                                style="margin-bottom: 0px" AutoPostBack="True" 
                                                onselectedindexchanged="forma_pagamento_id_SelectedIndexChanged" ></telerik:RadComboBox>
                                        </div>
                                        <div style="float:left; margin-left:10px; width:10%; margin-top:8px;" >
                                            <asp:Label ID="lbl_pdt_parcela" runat="server" Text="Parcelas" 
                                                Font-Bold="True" Font-Size="X-Small"></asp:Label>                                      
                                            <telerik:RadNumericTextBox ID="pdt_parcela" runat="server" Font-Size="X-Small"
                                                        Width="97%" DataType="System.Int32" Culture="pt-BR">
                                                        <NumberFormat DecimalDigits="0" />
                                                        <ReadOnlyStyle BackColor="#CCCCCC" />
                                            </telerik:RadNumericTextBox>  
                                        </div>
                                        <div style="float:left; margin-left:10px; width:20%; margin-top:8px;">
                                            <asp:Label ID="lbl_pdt_datapamento" runat="server" Text="Data 1a parcela" 
                                                Font-Bold="True" Font-Size="X-Small"></asp:Label>                                                
                                            <telerik:RadDateInput ID="pdt_datapamento" runat="server" Font-Size="X-Small" 
                                                Width="97%" AutoPostBack="True" >
                                                <ReadOnlyStyle BackColor="#D6DCDB" />
                                            </telerik:RadDateInput>
                                        </div>
                                        <div style="float:right; margin-right:0px; width:30%; margin-top:8px;">
                                            <%--bandeira cartao--%>
                                            <asp:Label ID="lbl_pdt_bandeira" runat="server" Text="Bandeira" Visible="false"
                                                Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                            <telerik:RadComboBox ID="pdt_bandeira" runat="server" Visible="false"
                                                            Font-Size="X-Small" Width="100%" Filter="Contains" 
                                                            EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                            EnableLoadOnDemand="True" 
                                                            style="margin-bottom: 0px" AutoPostBack="True" 
                                                onselectedindexchanged="pag_mesreferencia_SelectedIndexChanged">
                                                <Items>
                                                    <telerik:RadComboBoxItem runat="server" />
                                                    <telerik:RadComboBoxItem runat="server" Text="American" 
                                                        Value="AMERICAN EXPRESS" Font-Size="X-Small" />
                                                    <telerik:RadComboBoxItem runat="server" Text="Master" 
                                                        Value="MASTER CARD" Font-Size="X-Small" />
                                                    <telerik:RadComboBoxItem runat="server" Text="Visa" 
                                                        Value="VISA" Font-Size="X-Small" />                            
                                                    <telerik:RadComboBoxItem runat="server" Text="Outros" 
                                                        Value="OUTROS" Font-Size="X-Small" />                                                                                                                                       
                                                </Items>                                        
                                            </telerik:RadComboBox>  
                                            <%--numero cheque--%>
                                            <asp:Label ID="lbl_pdt_numerocheque" runat="server" Text="Número do cheque" Visible="false"
                                                Font-Bold="True" Font-Size="X-Small"></asp:Label>
                                            <telerik:RadTextBox ID="pdt_numerocheque" Runat="server" Font-Size="X-Small" 
                                                Width="97%" ReadOnly="false" Visible="False">
                                                <ReadOnlyStyle BackColor="#D6DCDB" />
                                            </telerik:RadTextBox>
                                        </div>
                                    </fieldset>
                                </asp:Panel>
                            </div>

                            <%--linha--%>                                                       
                            <div style="float:left; margin-left:5px; width:99%; margin-top:5px;">
                                <asp:Panel ID="pnlInadimplencia" runat="server" Width="100%">                                
                                    <fieldset><legend title="Inadimplencia" align="left" style="font-size: x-small"></legend>
                                        <div style="float:left; margin-left:0px; width:25%; ">
                                            <asp:Label ID="lbl_mensalidadeEmAbero" runat="server" Text="Mensalidades em Aberto" 
                                                    Font-Bold="True" Font-Size="X-Small"></asp:Label>                                            
                                           <telerik:RadComboBox ID="mensalidadeEmAbero" runat="server" 
                                                                Font-Size="X-Small" Width="100%" DataTextField="ANOMES_CALCULADO" 
                                                                DataValueField="ANOMES_CALCULADO" Filter="Contains" 
                                                                EmptyMessage="Selecione" MarkFirstMatch="True" 
                                                                EnableLoadOnDemand="True" onitemsrequested="mensalidadeEmAbero_ItemsRequested" 
                                                                style="margin-bottom: 0px" AutoPostBack="True" ></telerik:RadComboBox>
                                        </div>  
                                    </fieldset>
                                </asp:Panel>
                            </div>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <div style="float: right; margin-right: 0px; margin-top: 5px;">
                        <asp:ImageButton ID="imgbCancelar" runat="server" ImageUrl="~/Imagens/botoes_pagina_retornar.png"
                            OnClientClick="Close(); return false;" />
                    </div>
                    <div style="float: right; margin-right: 5px; margin-top: 5px;">
                        <asp:ImageButton ID="imgbConfirmarDadosCad" runat="server" ImageUrl="~/Imagens/botoes_confirmar.png"
                            OnClick="imgbConfirmarDadosCad_Click" 
                            ValidationGroup="camposObrigatorios" />
                        <asp:ImageButton ID="imgbImprimirRec" runat="server" ImageUrl="~/Imagens/botoes_pagina_imprimir.png" Visible="false"
                            OnClick="imgbImprimirRec_Click" />
                    </div>
                    <div style="float: right; margin-top: 5px; margin-right: 5px;">
                        <asp:ImageButton ID="imgb_dicaPagina" runat="server" ImageUrl="~/Imagens/botoes_pagina_dica_paginar.png"
                            OnClientClick="alert('Utilize esta página para cadastrar itens utilizado pelos Alunos. \n Materiais como CD's, DVD's, livros e albuns de fotos são exemplos de materias a serem cadastrados.')"
                            Style="cursor: help" ToolTip="Dica de Página!" />
                    </div>
                </td>
            </tr>
        </table>
            
    </div>
    </form>
</body>
</html>
